Specifies the options for automatically generated values for new data records.
新規データレコード用に自動生成される値用のオプションを指定します。
The availability of the following controls depends on the type of database:
以下のコントロールの利用可能な範囲は、データベースのタイプによって変わります。
Enables Office support for auto-incremented data fields in the current ODBC or JDBC data source. Select this option if the auto-increment feature in the SDBCX layer of the database is not supported. In general, the auto-increment is selected for the primary key field.
現在の ODBC または JDBC データソース中の自動増分データフィールドに対する Office によるサポートを利用可能にします。データベースの SDBCX レイヤー中で、自動増分機能がサポートされていない場合に、このオプションを選択します。標準では、自動増分機能は主キーフィールド用に選択されています。
Enter the SQL command specifier that instructs the data source to auto-increment a specified Integer data field. For example, the following MySQL statement used the AUTO_INCREMENT statement to increase the "id" field each time the statement creates a data field:
データソースに対して、指定した Integer 型のデータフィールドを自動増分するよう指示する SQL コマンド指定子を入力します。たとえば、次の MySQL 文では、この文でデータフィールドが作成されるたびに、「id」フィールドを増分するよう、AUTO_INCREMENT 文によって指定されています。
CREATE TABLE "table1" ("id" INTEGER AUTO_INCREMENT)
CREATE TABLE "table1" ("id" INTEGER AUTO_INCREMENT)
For this example, you must enter AUTO_INCREMENT into the Auto-increment statement box.
この例の場合、Auto-increment statement ボックスに AUTO_INCREMENT を入力する必要があります。
Enter an SQL statement that returns the last auto-incremented value for the primary key data field. For example:
プライマリキーデータフィールドの自動増分された最後の値を返す SQL 文を入力します。次に例を示します:
SELECT LAST_INSERT_D();
SELECT LAST_INSERT_D();